package com.woniu.user.feign;

import com.woniu.common.entity.DogBreed;
import com.woniu.common.entity.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author author
 * @create 2021/5/20
 */
@FeignClient("pet-knowledge")
public interface DogBreedFeign {

    @RequestMapping("/dogBreed/getAllDogBreedBySize")
    ResponseResult<List<DogBreed>> getAllDogBreed(@RequestParam("size") Integer size);


}
